package cn.ymkj.service.impl;

import cn.ymkj.pojo.Dept;
import cn.ymkj.service.DeptService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class DeptServiceImpl implements DeptService {
    @Override
    public List<Dept> findAll() {
        List<Dept> depts = new ArrayList<>();
        depts.add(new Dept(111,"市场部"));
        depts.add(new Dept(222,"研发部"));
        depts.add(new Dept(333,"人事部"));
        depts.add(new Dept(444,"财务部"));
        return depts;
    }
}
